import gtk
import gtk.glade
import sys
class memobee_about:
    def __init__(self):
        #set the glade file
        self.glade_file="about.glade"
        self.tree=gtk.glade.XML(self.glade_file)
        #getting the widget from the tree
        self.about_dialog=self.tree.get_widget("about_dialog")
        self.tree.signal_autoconnect({"dialog_destroy" : self.hide})
        #make the about dialog to be shown
        self.about_dialog.show()
    def hide(self,st,nd):
    	self.about_dialog.hide()
    def show(self):
    	self.about_dialoge.show()
if __name__=="__main__":
    test=memobee_about()
    gtk.main()
